/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Psychiatryand Neurology Provider Codes</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S20239 (C-0-T19465-S20096-S20239-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getPsychiatryandNeurologyProviderCodes()
 * @model extendedMetaData="name='PsychiatryandNeurologyProviderCodes'"
 * @generated
 */
public enum PsychiatryandNeurologyProviderCodes implements Enumerator {
	/**
	 * The '<em><b>208400000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_208400000X_VALUE
	 * @generated
	 * @ordered
	 */
	_208400000X(0, "_208400000X", "208400000X"),

	/**
	 * The '<em><b>2084A0401X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2084A0401X_VALUE
	 * @generated
	 * @ordered
	 */
	_2084A0401X(1, "_2084A0401X", "2084A0401X"),

	/**
	 * The '<em><b>2084P0802X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2084P0802X_VALUE
	 * @generated
	 * @ordered
	 */
	_2084P0802X(2, "_2084P0802X", "2084P0802X"),

	/**
	 * The '<em><b>2084P0804X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2084P0804X_VALUE
	 * @generated
	 * @ordered
	 */
	_2084P0804X(3, "_2084P0804X", "2084P0804X"),

	/**
	 * The '<em><b>2084N0600X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2084N0600X_VALUE
	 * @generated
	 * @ordered
	 */
	_2084N0600X(4, "_2084N0600X", "2084N0600X"),

	/**
	 * The '<em><b>2084F0202X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2084F0202X_VALUE
	 * @generated
	 * @ordered
	 */
	_2084F0202X(5, "_2084F0202X", "2084F0202X"),

	/**
	 * The '<em><b>2084P0805X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2084P0805X_VALUE
	 * @generated
	 * @ordered
	 */
	_2084P0805X(6, "_2084P0805X", "2084P0805X"),

	/**
	 * The '<em><b>2084P0005X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2084P0005X_VALUE
	 * @generated
	 * @ordered
	 */
	_2084P0005X(7, "_2084P0005X", "2084P0005X"),

	/**
	 * The '<em><b>2084N0400X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2084N0400X_VALUE
	 * @generated
	 * @ordered
	 */
	_2084N0400X(8, "_2084N0400X", "2084N0400X"),

	/**
	 * The '<em><b>2084N0402X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2084N0402X_VALUE
	 * @generated
	 * @ordered
	 */
	_2084N0402X(9, "_2084N0402X", "2084N0402X"),

	/**
	 * The '<em><b>2084P2900X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2084P2900X_VALUE
	 * @generated
	 * @ordered
	 */
	_2084P2900X(10, "_2084P2900X", "2084P2900X"),

	/**
	 * The '<em><b>2084P0800X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2084P0800X_VALUE
	 * @generated
	 * @ordered
	 */
	_2084P0800X(11, "_2084P0800X", "2084P0800X"),

	/**
	 * The '<em><b>2084S0010X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2084S0010X_VALUE
	 * @generated
	 * @ordered
	 */
	_2084S0010X(12, "_2084S0010X", "2084S0010X"),

	/**
	 * The '<em><b>2084V0102X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2084V0102X_VALUE
	 * @generated
	 * @ordered
	 */
	_2084V0102X(13, "_2084V0102X", "2084V0102X");

	/**
	 * The '<em><b>208400000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>208400000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_208400000X
	 * @model literal="208400000X"
	 * @generated
	 * @ordered
	 */
	public static final int _208400000X_VALUE = 0;

	/**
	 * The '<em><b>2084A0401X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2084A0401X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2084A0401X
	 * @model literal="2084A0401X"
	 * @generated
	 * @ordered
	 */
	public static final int _2084A0401X_VALUE = 1;

	/**
	 * The '<em><b>2084P0802X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2084P0802X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2084P0802X
	 * @model literal="2084P0802X"
	 * @generated
	 * @ordered
	 */
	public static final int _2084P0802X_VALUE = 2;

	/**
	 * The '<em><b>2084P0804X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2084P0804X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2084P0804X
	 * @model literal="2084P0804X"
	 * @generated
	 * @ordered
	 */
	public static final int _2084P0804X_VALUE = 3;

	/**
	 * The '<em><b>2084N0600X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2084N0600X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2084N0600X
	 * @model literal="2084N0600X"
	 * @generated
	 * @ordered
	 */
	public static final int _2084N0600X_VALUE = 4;

	/**
	 * The '<em><b>2084F0202X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2084F0202X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2084F0202X
	 * @model literal="2084F0202X"
	 * @generated
	 * @ordered
	 */
	public static final int _2084F0202X_VALUE = 5;

	/**
	 * The '<em><b>2084P0805X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2084P0805X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2084P0805X
	 * @model literal="2084P0805X"
	 * @generated
	 * @ordered
	 */
	public static final int _2084P0805X_VALUE = 6;

	/**
	 * The '<em><b>2084P0005X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2084P0005X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2084P0005X
	 * @model literal="2084P0005X"
	 * @generated
	 * @ordered
	 */
	public static final int _2084P0005X_VALUE = 7;

	/**
	 * The '<em><b>2084N0400X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2084N0400X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2084N0400X
	 * @model literal="2084N0400X"
	 * @generated
	 * @ordered
	 */
	public static final int _2084N0400X_VALUE = 8;

	/**
	 * The '<em><b>2084N0402X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2084N0402X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2084N0402X
	 * @model literal="2084N0402X"
	 * @generated
	 * @ordered
	 */
	public static final int _2084N0402X_VALUE = 9;

	/**
	 * The '<em><b>2084P2900X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2084P2900X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2084P2900X
	 * @model literal="2084P2900X"
	 * @generated
	 * @ordered
	 */
	public static final int _2084P2900X_VALUE = 10;

	/**
	 * The '<em><b>2084P0800X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2084P0800X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2084P0800X
	 * @model literal="2084P0800X"
	 * @generated
	 * @ordered
	 */
	public static final int _2084P0800X_VALUE = 11;

	/**
	 * The '<em><b>2084S0010X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2084S0010X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2084S0010X
	 * @model literal="2084S0010X"
	 * @generated
	 * @ordered
	 */
	public static final int _2084S0010X_VALUE = 12;

	/**
	 * The '<em><b>2084V0102X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2084V0102X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2084V0102X
	 * @model literal="2084V0102X"
	 * @generated
	 * @ordered
	 */
	public static final int _2084V0102X_VALUE = 13;

	/**
	 * An array of all the '<em><b>Psychiatryand Neurology Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final PsychiatryandNeurologyProviderCodes[] VALUES_ARRAY =
		new PsychiatryandNeurologyProviderCodes[] {
			_208400000X,
			_2084A0401X,
			_2084P0802X,
			_2084P0804X,
			_2084N0600X,
			_2084F0202X,
			_2084P0805X,
			_2084P0005X,
			_2084N0400X,
			_2084N0402X,
			_2084P2900X,
			_2084P0800X,
			_2084S0010X,
			_2084V0102X,
		};

	/**
	 * A public read-only list of all the '<em><b>Psychiatryand Neurology Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<PsychiatryandNeurologyProviderCodes> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Psychiatryand Neurology Provider Codes</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PsychiatryandNeurologyProviderCodes get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PsychiatryandNeurologyProviderCodes result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Psychiatryand Neurology Provider Codes</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PsychiatryandNeurologyProviderCodes getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PsychiatryandNeurologyProviderCodes result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Psychiatryand Neurology Provider Codes</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PsychiatryandNeurologyProviderCodes get(int value) {
		switch (value) {
			case _208400000X_VALUE: return _208400000X;
			case _2084A0401X_VALUE: return _2084A0401X;
			case _2084P0802X_VALUE: return _2084P0802X;
			case _2084P0804X_VALUE: return _2084P0804X;
			case _2084N0600X_VALUE: return _2084N0600X;
			case _2084F0202X_VALUE: return _2084F0202X;
			case _2084P0805X_VALUE: return _2084P0805X;
			case _2084P0005X_VALUE: return _2084P0005X;
			case _2084N0400X_VALUE: return _2084N0400X;
			case _2084N0402X_VALUE: return _2084N0402X;
			case _2084P2900X_VALUE: return _2084P2900X;
			case _2084P0800X_VALUE: return _2084P0800X;
			case _2084S0010X_VALUE: return _2084S0010X;
			case _2084V0102X_VALUE: return _2084V0102X;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private PsychiatryandNeurologyProviderCodes(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //PsychiatryandNeurologyProviderCodes
